A simple linear algorithm for computing rectangle 3-centers

نویسنده

  • Michael Hoffmann
چکیده

Rectangular p-centers of a nite planar point set P are the centers of at most p axis-parallel congruent squares of minimal size covering P . We give a simple linear time algorithm based on linear selection for the case p = 3. A linear algorithm for this problem is already known [7]. But it makes use of an LP -type [6] formulation of the problem with high combinatorial dimension (roughly 40) which makes it unlikely to perform well in an actual implementation. The motivation for our algorithm is such an implementation. 1 Theoretical Results Let P be a set of points in the plane and denote its bounding box by BP . The 3-radius of P is the minimal % 2 R such that P can be covered by three axis-parallel congruent squares of side length 2%. Excluding trivial cases we have BP = [xl; xr] [yb; yt]; xl < xr; yb < yt. For the sake of simplicity let us furthermore assume that P is in general position, i.e. no two points have a common x{ or y-coordinate nor the same jj jj1-distance to one of the corners of BP . We will rst repeat a number of simple observations as listed in [7].

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

الگوریتم مستطیل آبشاری و ماتریس انتقال در شبکه های کوتاه ترین مسیر بادور

Shortest path problem is among the most interesting problems in the field of graph and network theory. There are many efficient matrix based algorithms for detecting of shortest path and distance between all pairs of this problem in literature. In this paper, a new exact algorithm, named Cascade Rectangle Algorithm, is presented by using main structure of previous exact algorithms and developin...

متن کامل

A SIMPLE ALGORITHM FOR COMPUTING TOPOLOGICAL INDICES OF DENDRIMERS

Dendritic macromolecules’ have attracted much attention as organic examples of well-defined nanostructures. These molecules are ideal model systems for studying how physical properties depend on molecular size and architecture. In this paper using a simple result, some GAP programs are prepared to compute Wiener and hyper Wiener indices of dendrimers.

متن کامل

Algorithm for finding the largest inscribed rectangle in polygon

In many industrial and non-industrial applications, it is necessary to identify the largest inscribed rectangle in a certain shape. The problem is studied for convex and non-convex polygons. Another criterion is the direction of the rectangle: axis aligned or general. In this paper a heuristic algorithm is presented for finding the largest axis aligned inscribed rectangle in a general polygon. ...

متن کامل

A SIMPLE ALGORITHM FOR COMPUTING DETOUR INDEX OF NANOCLUSTERS

Let G be the chemical graph of a molecule. The matrix D = [dij ] is called the detour matrix of G, if dij is the length of longest path between atoms i and j. The sum of all entries above the main diagonal of D is called the detour index of G. In this paper, a new algorithm for computing the detour index of molecular graphs is presented. We apply our algorithm on copper and silver nanoclusters ...

متن کامل

A Simple Linear Algorithm for Computing Rectangular Centers

Rectangular p centers of a nite planar point set P are the centers of at most p axis parallel congruent squares of minimal size covering P We give a simple linear time algorithm based on linear selection for the case p A linear algorithm for this problem is already known But it makes use of an LP type formula tion of the problem with high combinatorial dimension roughly which makes it unlikely ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999